#include <iostream>
using namespace std;
int main()
{
    cout << 1234567.89 << "\t\t (defaultfloat)\n"
         << fixed << 123456789.89 << "\t (fixed)\n"
         << scientific << 1234567.89 << "\t\t (scientific)\n";
    return 0;
}